/**
 * 
 */
package org.cuatrovientos.javakart;

/**
 * @author dani
 *
 */
public class Main {

	/**
	 * @param args
	 */
	
 
        public static void main(String[] args) {
 
           Car myOneCar= new Car("Subaru","2581CHF");
           Car twoCar= new Car("l.Diablo","6666ADC");
           Car threeCar = new Car("Hammer", "7878GCN");
              
 
           Circuit myCircuit = new Circuit("LOS ARCOS", 100);
           Race myRace = new Race("EL ANILLO DE PODER", myCircuit);
           myRace.insertCar(myOneCar);
           myRace.insertCar(twoCar);
           myRace.insertCar(threeCar);
 
        
           System.out.println("The winner in " + myRace.getName() + " " + myCircuit.getName() +  " is :" + myRace.run().toString());
 
                
 
        }

} 
